﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;


namespace FinalProject.Entities
{
    public class Address
    {
        [DisplayName("Street Name")]
        [Required]
        [StringLength(22)]
        public string Street1 { get; set; }
        public string Street2 { get; set; }
        [DisplayName("City")]
        [Required]
        [StringLength(14)]
        public string City { get; set; }
        [DisplayName("State")]
        [Required]
        [StringLength(2)]
        public string State { get; set; }
        [DisplayName("Zip Code")]
        [Required]
        public int ZipCode { get; set; }
        [DisplayName("Country")]
        [Required]
        [StringLength(12)]
        public string Country { get; set; }
    }
}
